﻿namespace MonopolyNOHI
{
    public class Veld
    {
        //velden
        public string Naam { get; private set; }
        public bool BuyAble { get; private set; }
        public Speler Eigenaar { get; private set; }
        
        //contstructor(s)
        public Veld(string naam, bool buyable)
        {
            Naam = naam;
            BuyAble = buyable;
            Eigenaar = null;
        }

        //methodes
        public bool IsTeKoop()
        {
            if (BuyAble && (Eigenaar == null))
            {
                return true;
            }
            return false;
        }
     }
}